package top.tangyh.lamp.care.entity.oracle;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Schema(description = "ICU在线患者实体类")
public class ViewICUOnlinePatients {

    @Schema(description = "患者住院号", requiredMode = Schema.RequiredMode.REQUIRED)
    private String hospitalNumber;

    @Schema(description = "患者识别号", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long patientIdent;

    @Schema(description = "患者性别 0其他, 1男, 2女")
    private Integer sex;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "姓名")
    private String name;

    @Schema(description = "入科时间")
    private LocalDateTime rkTime;

    @Schema(description = "入科诊断内容（多个用分号隔开）")
    private String rkZdContent;

    @Schema(description = "床号")
    private String bedNumber;

    @Schema(description = "护理等级")
    private Integer nursingLevel;

    @Schema(description = "出生日期")
    private LocalDate dateOfBirth;

    @Schema(description = "入院时间")
    private LocalDate wardInTime;

    @Schema(description = "数据创建时间（his同步用）")
    private LocalDateTime createTime;

    @Schema(description = "数据更新时间（his同步用）")
    private LocalDateTime modifyTime;

    @Schema(description = "true 是 false 否")
    @TableField(exist = false)
    private Boolean isKongchuang;

    @Schema(description = "患者绑定的设备识别号")
    @TableField(exist = false)
    private List<String> bindDevList;
}